package com.wanmait.cookBook.vo;

import java.sql.Timestamp;

public class Topic {
	private int id;
	private String topicImage;
	private String topicName;
	private String context;
	private Timestamp publishTime;
	private boolean publishState;
	private boolean enable;
	private Userinfo userinfo;
	private boolean showTopic;
	public Timestamp getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Timestamp publishTime) {
		this.publishTime = publishTime;
	}
	public boolean isShowState() {
		return showTopic;
	}
	public void setShowState(boolean showState) {
		this.showTopic = showState;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTopicImage() {
		return topicImage;
	}
	public void setTopicImage(String topicImage) {
		this.topicImage = topicImage;
	}
	public String getTopicName() {
		return topicName;
	}
	public void setTopicName(String topicName) {
		this.topicName = topicName;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public Timestamp getTime() {
		return publishTime;
	}
	public void setTime(Timestamp time) {
		this.publishTime = time;
	}
	public boolean isPublishState() {
		return publishState;
	}
	public void setPublishState(boolean publishState) {
		this.publishState = publishState;
	}
	public boolean isEnable() {
		return enable;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
	public Userinfo getUserinfo() {
		return userinfo;
	}
	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}
	
}
